package com.erpoa.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author chenjimin
 * @Title: IPingzhiService
 * @ProjectName oaerp
 * @Description: TODO
 * @date 2020/7/1616:02
 */
public interface IPingzhiService {
    /**
     * 获取sequence
     * @param sequence
     * @return
     */
    String getSequence(String sequence);


    /**
     * 创建sequence
     * @param sequence
     * @return
     */
    void createSequence(String sequence);

    /**
     * 查询数据
     * @param fmachinecode
     * @return
     */
    List<HashMap> selectDataWithfmachinecode(String ffactorycode,String fmachinecode,String fplanbegindate, String fplanenddate);

    /**
     * 删除sequence
     * @param sequence
     * @return
     */
    void dropSequence(String sequence);

    /**
     * 根据工号获取权限
     * @param hrno
     * @return
     */
    List<Map<String,Object>> selecttcpgenbyhrno(String hrno);
}
